import os

from langchain_openai import ChatOpenAI

# base_url = os.environ.get("BAOCLOUD_DS_BASE_URL")
# model_name = os.environ.get("BAOCLOUD_DS_MODEL_NAME")
# os.environ["OPENAI_API_KEY"] = os.getenv("BAOCLOUD_DS_API_KEY")
base_url = os.environ.get("DEEPSEEK_BASE_URL")
model_name = os.environ.get("DEEPSEEK_MODEL_NAME")
os.environ["OPENAI_API_KEY"] = os.getenv("DEEPSEEK_API_KEY")

llm = ChatOpenAI(base_url=base_url, model_name=model_name)